﻿import request from '/@/utils/request';
enum Api {
  AddBusLogistics = '/api/busLogistics/add',
  DeleteBusLogistics = '/api/busLogistics/delete',
  UpdateBusLogistics = '/api/busLogistics/update',
  PageBusLogistics = '/api/busLogistics/page',
}

// 增加物流信息管理
export const addBusLogistics = (params?: any) =>
	request({
		url: Api.AddBusLogistics,
		method: 'post',
		data: params,
	});

// 删除物流信息管理
export const deleteBusLogistics = (params?: any) => 
	request({
			url: Api.DeleteBusLogistics,
			method: 'post',
			data: params,
		});

// 编辑物流信息管理
export const updateBusLogistics = (params?: any) => 
	request({
			url: Api.UpdateBusLogistics,
			method: 'post',
			data: params,
		});

// 分页查询物流信息管理
export const pageBusLogistics = (params?: any) => 
	request({
			url: Api.PageBusLogistics,
			method: 'post',
			data: params,
		});


